Skip to main content
DELETE
/
api
/
productos
/
{id}
curl --location --request DELETE 'https://api.iquea.com/api/productos/156' \
--header 'Authorization: Bearer YOUR_ADMIN_TOKEN'
// No response body

Authentication

This endpoint requires administrator authentication. Include a valid JWT token in the Authorization header.
Authorization
string
required
Bearer token for admin authenticationExample: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...

Path Parameters

id
long
required
The unique identifier of the product to delete

Response

This endpoint returns no content on success (204 status code).
curl --location --request DELETE 'https://api.iquea.com/api/productos/156' \
--header 'Authorization: Bearer YOUR_ADMIN_TOKEN'
// No response body

Status Codes

204
No Content
Product successfully deleted
403
Forbidden
Invalid or missing authentication token, or insufficient permissions
404
Not Found
Product with the specified ID does not exist
This action is permanent and cannot be undone. Ensure you have the correct product ID before deleting.